/* 对话框的模块样式 */
.Dialog {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

// 遮罩层
.Masklayer {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    animation: showMasklayer 0.6s both;
}

// 对话框主体
.DialogBox {
    max-width: 480px;
    min-width: 240px;
    min-height: 120px;
    padding: 20px;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    left: 50%;
    top: 50%;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.30);
    animation: showDialogBox 0.3s both;
    div {
        padding: 5px 0;
    }
}

@keyframes showMasklayer {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes showDialogBox {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}